package tu.j2ee.tasktracker.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.roo.addon.layers.repository.jpa.RooJpaRepository;
import tu.j2ee.tasktracker.domain.Comment;

@RooJpaRepository(domainType = Comment.class)
public interface CommentDAO extends JpaRepository<Comment, Long> {
	
	public List<Comment> findByTaskId( Long taskId);
	public List<Comment> findByMailSent(boolean mailSent);
}
